/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.edu.pucp.dp1.TSPSolution.view.componentes;

import javax.swing.*;
import pe.edu.pucp.dp1.TSPSolution.view.pla.Frm_GenerarRuta;
import pe.edu.pucp.dp1.TSPSolution.view.pla.Frm_RegistrarPedido;

/**
 *
 * @author apple
 */
public class PopUp{
    private JDialog popup;
    
    public PopUp(JPanel panel){
       popup = new JDialog();
       popup.add(panel);
       popup.pack();
       popup.setVisible(true);
    }
      

}
